compare the rank vs dense_rank function in sql server

join shbcf.ru